#!/bin/bash

function man_kill() {
	sum=""
	for i in $@
	do
		pid=$(ps -ef | grep "$i" | grep -v grep | grep -v "$1 stop" | awk -F " " '{print $2}')
		if [ "$pid"x != x ];then
			sum="$sum $pid"
		fi
	done
	kill -9 $sum
}

function titel() {
	echo "------------------"
	echo "------------------"
	printf "### %-20s ###\r\n" "$1"
}

function man_exit() {
	
	printf "### %-10s ###\r\n" DONE
	exit $1
}
